@import '~taro-ui/dist/style/components/float-layout.scss';

.takeOutDelivery {
  background: #ffffff;
  .at-float-layout {
    display: flex;
    align-items: center;
  }

  .layout-body,
  .at-float-layout__container,
  .layout-body__content {
    min-height: 200px !important;
    max-height: unset !important;
    padding: 0 !important;
  }

  .at-float-layout__container {
    border-radius: 24px 24px 0 0 !important;
  }

  .at-float-layout__overlay {
    background: rgba(0, 0, 0, 0.5);
  }

  .head {
    position: fixed;
    top: 0;
    width: 100%;
    height: 196px;
    background: #ffffff;
    box-sizing: border-box;
    padding: 32px 0;
    border-radius: 24px 24px 0 0;
    .iconArea {
      position: absolute;
      top: 20px;
      right: 20px;
      width: 64px;
      height: 64px;
      .downicon {
        width: 24px;
        height: 24px;
      }
    }
    .title {
      height: 40px;
      line-height: 40px;
    }
    .tip {
      height: 34px;
      line-height: 34px;
    }
    .addrBtn {
      margin-top: 12px;
      width: 148px;
      height: 46px;
      border: 1px solid;
      border-radius: 26px;
    }
  }

  .label {
    margin-top: 196px;
    width: 100%;
    height: 76px;
    background: #f0f0f0;
    &.hidden {
      display: none;
    }
    .line {
      width: 50px;
      height: 2px;
      opacity: 1;
      background: linear-gradient(270deg,#999999, #eeeeee);
    }
    .adjust {
      height: 28px;
      line-height: 28px;
      margin: 0 12px;
    }
  }

  .sold-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    height: 45px;
    margin-top: 60px;

    margin-bottom: 50px;
    color: #333333;
    font-weight: bold;
    font-size: 32px;
    line-height: 45px;
  }

  .shop-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 764px;
    box-sizing: border-box;
    padding: 0 24px;
    background: #f0f0f0;

    .shop {
      flex-shrink: 0;
      width: 100%;
      height: 226px;
      margin-bottom: 24px;
      background: #ffffff;
      border-radius: 8px;
      box-sizing: border-box;
      padding: 24px;
      display: flex;
      .left {
        width: 178px;
        height: 178px;
        margin-right: 24px;
        .shopIcon {
          width: 100%;
          height: 100%;
          border-radius: 4px;
        }
      }
      .right {
        flex-shrink: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        .name {
          width: 400px;
          height: 44px;
          font-size: 32px;
          font-weight: bold;
          color: #333333;
          line-height: 44px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
        .info {
          width: 100%;
          height: 36px;
          margin-top: 8px;
          display: flex;
          justify-content: space-between;
          align-items: center;
          font-size: 20px;
          font-weight: 400;
          color: #999999;
          line-height: 28px;
          .infoLeft {
            height: 100%;
            display: flex;
            align-items: center;
            .starIcon {
              width: 26px;
              height: 26px;
            }
            .starNum {
              margin-left: 10px;
              font-size: 26px;
              font-weight: bold;
              color: #f7b500;
              line-height: 36px;
            }
            .saleTitle {
              margin: 0 10px 0 12px;
            }
          }
          .infoRight {
            height: 100%;
            display: flex;
            align-items: center;
            .distance {
              margin-left: 20px;
              margin-right: 6px;
            }
          }
        }
        .fee {
          width: 100%;
          height: 34px;
          margin-top: 8px;
          display: flex;
          .mText {
            height: 100%;
            font-size: 24px;
            font-weight: 400;
            color: #999999;
            line-height: 34px;
            margin-right: 16px;
          }
        }
        .manjianLine {
          width: 100%;
          height: 26px;
          margin-top: 16px;
          display: flex;
          overflow: hidden;
          .manjian {
            height: 26px;
            margin-right: 8px;
            box-sizing: border-box;
            padding: 0 8px;
            opacity: 0.15;
            border-radius: 2px;
            font-size: 20px;
            font-weight: 400;
            line-height: 26px;
          }
        }
      }
    }
  }
}
